package com.fy.tt.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Data
@NoArgsConstructor
@ToString
@Table(name = "bls_paradigm")
public class Paradigm {
    //    @TableId(value = "id", type = IdType.AUTO)
    @Id
    @Column(name = "id")
    private Long id;

    //    @ApiModelProperty(value = "该范式所对应的句型ID")
    @Column(name = "sentence_id")
    private Long sentenceId;

    //    @ApiModelProperty(value = "中间范式的形式")
    @Column(name = "easy_paradigm")
    private String easyParadigm;

    //    @ApiModelProperty(value = "这个范式的相关举例")
    @Column(name = "example")
    private String example;

    //    @ApiModelProperty(value = "创建者的用户ID")
    @Column(name = "creator_id")
    private Long creatorId;

    //    @ApiModelProperty(value = "最近一次修改者的用户ID")
    @Column(name = "editor_id")
    private Long editorId;

    //    @ApiModelProperty(value = "最近一次修改的修改时间")
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Column(name = "update_time")
    private Date updateTime;

    //    @ApiModelProperty(value = "0：禁用 1：正常")
    @Column(name = "status")
    private Long status;

}
